package com.zhl.encapsulation;

public class Test {
    public static void main(String[] args) {
        //目的：掌握封装的设计规范：合理暴露，合理隐藏
        Student s1 = new Student();
        s1.setscore(90);
        System.out.println(s1.getscore());
    }
}
